package com.heatingcharge.entity.unit;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.heatingcharge.entity.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

/**
 * <p>
 * 楼 
 * </p>
 *
 * @author devin.jiang
 * @since 2019-07-17
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class ResBuilding  implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 楼号
     */
    private String num;

    /**
     * 小区Id
     */
    private Integer zoneId;

    /**
     * 换热站ID
     */
    private Integer stationId;

    /**
     * 详细地址
     */
    private String addr;

    /**
     * 经度
     */
    private BigDecimal longitude;

    /**
     * 维度
     */
    private BigDecimal latitude;

    /**
     * 是否删除 0:否 1:是
     */
    protected Integer is_deleted;

    /**
     * 创建人
     */
    public String createdBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /**
     * 修改人
     */
    private String updatedBy;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;


    @TableField(exist = false)
    private String zoneName;

//    @TableField(exist = false)
//    private String plantName;

}
